# Contributor: Thomas Kienlen <kommander@laposte.net>
# Maintainer: Thomas Kienlen <kommander@laposte.net>
pkgname=kiwix-tools
pkgver=3.5.0
pkgrel=2
pkgdesc="Kiwix command line tools"
url="https://github.com/kiwix/kiwix-tools"
arch="all"
license="GPL-3.0-or-later"
makedepends="
	meson
	libkiwix-dev
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/kiwix/kiwix-tools/archive/$pkgver.tar.gz"
options="!check" # no test suite
subpackages="$pkgname-doc"

build() {
	abuild-meson . build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir" ninja -C build install
}

sha512sums="
9cb1aa4fee26016575bd8bda3bf1b928d3f5ca5d8a290f377f13bb9bfb4a03805e1befdd4168dc91456b012928665d9f632eb7224621687b628552148edcca0b  kiwix-tools-3.5.0.tar.gz
"
